package com.cowain.service;

import com.cowain.entity.UserEntity;
import com.cowain.info.UserInfo;

import java.util.List;
import java.util.Map;

/**
 * @Author fxw
 * @Date 2022/5/12 20:45
 */
public interface UserService {
    boolean addUser(UserEntity userInfo);

    boolean delUser(String uid);

    boolean updateUser(UserEntity userEntity);

    List<UserEntity> findAll();

    List<UserEntity> findAllByWhere(UserEntity userEntity);

    List<UserEntity> findUserByTime(String t1, String t2);

    Map<String, Object> queryUsers(UserEntity userEntity);
}
